<?php
class LogController extends LogBaseController{
	public function __construct(){
		parent::__construct();
	}
	
	public function showList(){
		$manager = new LogManager();
		$returnList = $manager->pageShow("list",'logShowList');
				
		$this->tpl->assign('exportLog', ture);
		$this->tpl->assign('returnList', $returnList);
		$this->tpl->assign('pageHtml', $returnList["pageHtml"]);
		$this->tpl->assign('tableTitle', $returnList["tableTitle"]);
		$this->tpl->assign('tableValue', $returnList["tableValue"]);
		$this->tpl->assign('pageName', $returnList["pageName"]);
		$this->tpl->assign('pageKey', $returnList["pageKey"]);
		$this->tpl->assign('searchCase', $returnList["searchCase"]);
		$this->tpl->assign('showLogMaxError', $returnList['totle'] >= LOGMAXCOUNT);

		$exportUrlList = explode("/?", $_SERVER['REQUEST_URI']);
		$this->tpl->assign('exportUrl', $exportUrlList[1]);
		
		$this->tpl->assign('controllerName', "logShowList");
		
		$this->tpl->display("log/logShow.html");
	}
}